<!DOCTYPE html>
<html lang="en" >

<head>
    <meta charset="UTF-8"  />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>登录 - 支付宝</title>
    <link rel="icon" href="https://img.alicdn.com/tfs/TB1qEwuzrj1gK0jSZFOXXc7GpXa-32-32.ico" type="image/x-icon">
</head>

<body>
    <style>
        body {
           
            background: url("./image.png");
            font-family: Serif;
            background-size:cover;
            background-repeat: no-repeat;
            width: 100%;
            height: 100%;
        }
        .fn-clear{
            top: 0%;
            left: 0%;
            display: inline;
            position: absolute;
            width: 100%;
            span{
                background: #1E1B29;
            }
           
            
        }
        .container-right{
                margin-left: 70%;
                margin-right: 9.5%;
                
            }

        .regster {
            position: absolute;
            width: 400px;
            height: 400px;
            right: 15%;
            top: 20%;
            background: rgba(0, 0, 0, 0.5);
            margin: auto;
            border-radius: 5px;
            
        }

        .top {
            
            display: flex;
            justify-content: space-around;
            padding: 30px;
            
        }

        .inner-foot {
            display: flex;
            justify-content: space-around;
            padding: 30px;
        }

        .account {
            padding: 50px;

            input {
                margin-bottom: 20px;
                width: 180px;
                height: 40px;
            }
        }

        .pwd {
            margin: 50px;
            
            input {
                width: 180px;
                height: 40px;
            }
        }

        .forget {
            position: absolute;
            right: 30px;
        }

        .into {
            
            position: absolute;
            right: 100px;
            margin: 30px;
            input {
                width: 190px;
                height: 40px;
                border-radius: 5px;
               
                background: #0AE;
            }
        }
        .foot{
            position: absolute;
            bottom: 10%;
            right: 40%;
            text-align: center;
            color:#fff;
        }
        .title{
            font-size: 32px;
            color: white;
            
            
        }
        a{
            color: white;
            text-decoration: none;
        }
        .alipay-logo{
            position: absolute;
            left: 170px;
            top: 50px;
            width: 100px;
        }
    </style>
    <link rel="icon" href="https://img.alicdn.com/tfs/TB1qEwuzrj1gK0jSZFOXXc7GpXa-32-32.ico" type="image/x-icon">
    <div class="fn-clear">
      
                <span  ><a href="https://mobile.alipay.com/index.htm" >支付宝APP</a>
           
                                       
        <a class="container-right" href="#">
           支付宝首页|
           
            服务大厅|
          
           提建议
        </a>
    </span>
    </div>
    <img src="https://mdn.alipayobjects.com/huamei_gk2yv1/afts/img/A*AiY9Ta3St6IAAAAAAAAAAAAADneBAQ/original" class="alipay-logo" alt="alipay-logo">
    <div class="regster">
        <div class="top">
            
            <div class="title">登录</div>
        </div>

        <hr class="line" />
    
        <span class="account">图标<input id="account" type="text" name="account" placeholder="请输入用户名" /></span><br />

        <span class="pwd">图标<input type="password"  id="pwd" name="password" placeholder="请输入密码" /></span><br />
        <!-- <span class="forget"><a href="#">忘记密码?</a></span><br /> -->
        <span class="into"> <input id="into" type="button" value="注册" /></span>
        <br />
        <!-- <div class="inner-foot">
            <div><a href="#">淘宝会员登录</a></div>
            <div><a href="#">注册</a></div>
        </div> -->
    </div>
    <div class="foot" >
        <span><a href="#">关于支付宝</a href="#"> | <a href="#">诚征英才</a> |<a href="#"> 联系我们</a> | <a href="#">International Business</a> |<a href="#">About Alipay</a> </span><br>
        <span>ICP证：合字B2-20190046</span>
    </div>
  
        <script>
            const into = document.getElementById("into");
            into.onclick = function () {
                const username = document.getElementById("account").value;
                const password = document.getElementById("pwd").value;
                console.log(username, password);
                
                if (username === "admin" && password === "123") {
                   window.location.href="http://47.116.207.219/homePage"
                } else {
                    alert("用户名或密码错误");
                }
                     
               
            }
            
        </script>
   
</body>

</html>